package cn.songwang.org.query;

public class Limit {
    //页码
    private Integer currentPage = 1;
    //每页条数
    private Integer pageSize = 5;
    //当前页码数
    public Integer getPage(){
        return (this.currentPage-1) * this.pageSize;
    }
}
